package cn.cvs.pojo;

import java.util.List;

//入库记录
public class StorageRecord {

  private long id;//主键ID
  private String srCode;//入库记录编码
  private String goodsName;//商品名称
  private String goodsDesc;//商品描述
  private String goodsUnit;//商品单位
  private double goodsCount;//入库数量
  private double totalAmount;//入库商品总额
  private long payStatus;//支付状态（1：未支付 2：已支付）
  private long createdUserId;//创建人id
  private String createdTime;//创建时间
  private long updatedUserId;//修改人id
  private String updatedTime;//修改时间
  private long supplierId;//供货商ID
  private String supplierName;//供货商名称
  private Supplier supplier;//入库记录
  private List<Supplier> supplierList;

  public List<Supplier> getSupplierList() {
    return supplierList;
  }

  public void setSupplierList(List<Supplier> supplierList) {
    this.supplierList = supplierList;
  }

  public Supplier getSupplier() {
    return supplier;
  }

  public void setSupplier(Supplier supplier) {
    this.supplier= supplier;
  }

  public String getSupplierName() {
    return supplierName;
  }

  public void setSupplierName(String supplierName) {
    this.supplierName = supplierName;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getSrCode() {
    return srCode;
  }

  public void setSrCode(String srCode) {
    this.srCode = srCode;
  }


  public String getGoodsName() {
    return goodsName;
  }

  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }


  public String getGoodsDesc() {
    return goodsDesc;
  }

  public void setGoodsDesc(String goodsDesc) {
    this.goodsDesc = goodsDesc;
  }


  public String getGoodsUnit() {
    return goodsUnit;
  }

  public void setGoodsUnit(String goodsUnit) {
    this.goodsUnit = goodsUnit;
  }


  public double getGoodsCount() {
    return goodsCount;
  }

  public void setGoodsCount(double goodsCount) {
    this.goodsCount = goodsCount;
  }


  public double getTotalAmount() {
    return totalAmount;
  }

  public void setTotalAmount(double totalAmount) {
    this.totalAmount = totalAmount;
  }


  public long getPayStatus() {
    return payStatus;
  }

  public void setPayStatus(long payStatus) {
    this.payStatus = payStatus;
  }


  public long getCreatedUserId() {
    return createdUserId;
  }

  public void setCreatedUserId(long createdUserId) {
    this.createdUserId = createdUserId;
  }


  public String getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(String createdTime) {
    this.createdTime = createdTime;
  }


  public long getUpdatedUserId() {
    return updatedUserId;
  }

  public void setUpdatedUserId(long updatedUserId) {
    this.updatedUserId = updatedUserId;
  }


  public String getUpdatedTime() {
    return updatedTime;
  }

  public void setUpdatedTime(String updatedTime) {
    this.updatedTime = updatedTime;
  }


  public long getSupplierId() {
    return supplierId;
  }

  public void setSupplierId(long supplierId) {
    this.supplierId = supplierId;
  }

}
